package com.itheimamobileguard.domain;

public class BlockNumberInfo {
	
	private String number;	//黑名单
	/**
	 * 拦截模式 
	 * 1.全部拦截
	 * 2.短信拦截
	 * 3.电话拦截
	 */
	private String mode;	
	public String getNumber() {
		return number;
	}
	public void setNumber(String number) {
		this.number = number;
	}
	public String getMode() {
		return mode;
	}
	public void setMode(String mode) {
		if ("1".equals(mode) || "2".equals(mode) ||"3".equals(mode)) {
			this.mode = mode;
		}else {
			this.mode = "0";
		}
	}
	
	
}
